// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import { Button } from 'mint-ui'
import { Header } from 'mint-ui'
import { Navbar } from 'mint-ui'
import { Tabbar } from 'mint-ui'
import { TabItem } from 'mint-ui'
import { TabContainer, TabContainerItem } from 'mint-ui'

import 'mint-ui/lib/style.css'

Vue.config.productionTip = false

Vue.component(Button.name, Button);
Vue.component(Header.name, Header);
Vue.component(Navbar.name, Navbar);
Vue.component(Tabbar.name, Tabbar);
Vue.component(TabItem.name, TabItem);
Vue.component(TabContainer.name, TabContainer);
Vue.component(TabContainerItem.name, TabContainerItem)

/* eslint-disable no-new */
new Vue({
	el: '#app',
	router,
	template: '<App/>',
	components: {
		App
	}
})